﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Logistics_Management_System.Resource
{
    public class Location_Repository : ServiceBase
    {
        public LG_Location GetLocationById(int location_id)
        { return (from location in this.DB.LG_Locations where location.Id == location_id select location).FirstOrDefault<LG_Location>(); }

    }
}